package com.hanlin.backend.dto;

import com.hanlin.backend.common.util.PageCommon;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * 描述：用户基本信息
 *
 * @author:hl.yuan
 * @date:2020-12-26
 */
@Data
@ToString
@ApiModel("用户基本信息")
public class UserInfo extends PageCommon {

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("账户名称")
    private String accountName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("邮件地址")
    private String mail;

    @ApiModelProperty("性别")
    private int sex;

    @ApiModelProperty("性别名称")
    private String sexName;

    @ApiModelProperty("年龄")
    private int age;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("角色ID")
    private List<Integer> roleId;

    @ApiModelProperty("角色名称")
    private String roleName;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("状态")
    private String statusName;

    @ApiModelProperty("创建时间")
    private String createTime;
}
